#include "StdAfx.h"
#include "ResourceManager.h"

CxImage g_imgBk;

char CResourceManager::m_szResourcePath[MAX_PATH] = {0};

CResourceManager::CResourceManager(void)
{
}

CResourceManager::~CResourceManager(void)
{
}

void CResourceManager::SetResourcePath(const char *szResourcePath)
{
	strncpy(m_szResourcePath, szResourcePath, sizeof(m_szResourcePath) - 1);
}

CString CResourceManager::GetFullPath(const char *szFileName)
{
	CString sFullPath;
	sFullPath.Format("%s\\%s", m_szResourcePath, szFileName);
	return sFullPath;
}

BOOL CResourceManager::LoadAllRes()
{
	g_imgBk.Load(GetFullPath("frame.bmp"));
    return TRUE;
}

